package org.jeecg.common.rental.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.desensitization.annotation.SensitiveField;

import java.io.Serializable;

/**
 * @Description: 租赁账户
 * @Author: sean
 * @Date:   2024-04-28
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class LoginRentalAccount implements Serializable {
    private static final long serialVersionUID = 1L;
    @SensitiveField
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**账户id (openId)*/
    @SensitiveField
    private String wxOpenId;
/*    @SensitiveField
    @JsonSerialize(using = ToStringSerializer.class)
    private Long carId;*/
	/**所属部门*/
    private String sysOrgCode;
	/**账户编号*/
    @SensitiveField
    private String accountCode;
	/**账户名*/
    @SensitiveField
    private String accountName;
    /**密码*/
    @SensitiveField
    private String salt;
    /**密码*/
    @SensitiveField
    private String password;
	/**昵称*/
    @SensitiveField
    private String nickName;
	/**手机号*/
    @SensitiveField
    private String phone;
    /**邮箱号*/
    @SensitiveField
    private String email;
	/**头像*/
    private String image;
	/**身份证名称*/
    @SensitiveField
    private String identityName;
	/**身份证号码*/
    @SensitiveField
    private String identityNumber;
    /**推荐人*/
    @SensitiveField
    private String recommendBy;
    /**账户状态 账户状态 0-冻结 1-启用*/
    private Integer status;
    /**多租户标识*/
    private String tenantId;
}
